package com.openjava.example.member.service;

import com.openjava.example.member.domain.ExampleMember;
import com.openjava.example.member.query.ExampleMemberDBParam;
import org.ljdp.ui.bootstrap.TablePage;
import org.ljdp.ui.bootstrap.TablePageImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.data.domain.Pageable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(value = "member-center")
@RequestMapping("/example/member/exampleMember")
public interface ExampleMemberClient {

    @RequestMapping(value="/search2",method=RequestMethod.POST)
    public TablePageImpl<ExampleMember> doSearch2(@RequestBody ExampleMemberDBParam params);
}
